<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>taxios如何传递post请求体参数，espress接受</title>
</head>
<body>
    <form id="fruitform">
        <label for="fruitname">水果名称：</label>
        <input type="text"  id="fruitname" name="fruitname" placeholder="请输入水果名称" />
        <button type="submit">提交</button>
    </form>

    <script src="../js/axios/"></script>
    <script>
        document.getElementById("fruitform").addEventListener("submit", function(e) {
        })
    </script>
    
</body>
</html>